package com.ruoyi.back.domain

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import javax.persistence.Entity
import javax.persistence.GeneratedValue
import javax.persistence.GenerationType
import javax.persistence.Id
import javax.persistence.Table

@TableName("fly_club_job_setting")
@ApiModel("社友乐园设置")
@Table(name = "fly_club_job_setting")
@Entity
data class ClubJobSetting(

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @TableId(type = IdType.AUTO)
    var id: Long? = null,

    @ApiModelProperty("名称")
    var name: String? = null,

    @ApiModelProperty("每行显示数量")
    var line: Int? = null,

    @ApiModelProperty("是否显示")
    var isShow: Boolean? = true,
)
